import * as types from './mutation-types'

const mutations = {
    [types.SET_USERNAME](state, name) {
        state.userName = name
    },
    [types.SET_KTALL](state, data) {
        state.ktAll = data
    },
    [types.SET_KTUSER](state, data) {
        state.ktUser = data
    },
    [types.SET_KTTUIJIAN](state, data) {
        state.ktTuijian = data
    },
    [types.SET_FREE](state, data) {
        state.free = data
    },
}
export default mutations